import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'


//引入axios
import axios from 'axios'; 
import VueAxios from 'vue-axios'

Vue.prototype.$axios = axios
axios.defaults.baseURL='http://localhost:3000';//设置基址

Vue.use(VueAxios,axios)

// 引入mint-ui
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(MintUI)

// 引入vant
import Vant from 'vant';
import 'vant/lib/index.css';  

Vue.use(Vant);

Vue.config.productionTip = false

new Vue({
  router, 
  store,
  render: h => h(App)
}).$mount('#app')
